package com.example.demo.handler.excel;

import java.util.ArrayList;
import java.util.List;

public class Company {

    public String name;

    public List<Menu> menus;

    public Company() {
        menus = new ArrayList<>();
    }

    public static class Menu {
        public String name;
        public List<Column> columns;
        public List<Content> contents;

        public Menu() {
            this.contents = new ArrayList<>();
            this.columns = new ArrayList<>();
        }
    }

    public static class Column {
        public String name;
        public String fieldName;
    }

    public static class Content {
        /**
         * 全部以字符串形式展示
         */
        public List<String> values;

        public Content() {
            this.values = new ArrayList<>();
        }
    }
}
